package com.dcw.lixb.designmode.abstract_factory;

/**
 * @author lixiaobin
 * @date 2020-07-16 17:01:20
 * @desc 描述信息
 */
public class Main {
    public static void main(String[] args) {
        AbsFactory factory = FactoryProducer.createFactory(FactoryProducer.TYPE_COLOR);
        Color color = factory.getColor(ColorFactory.YELLOW);
        color.fill();
    }
}
